package com.example.zhugenew.concation;


import com.example.mymvplibrary.callback.BaseModelCallback;
import com.example.mymvplibrary.view.RxBaseView;
import com.example.zhugenew.bean.BansBean;
import com.trello.rxlifecycle2.LifecycleProvider;

import java.util.HashMap;
import java.util.List;

public interface MainConations {
    interface MainView<T> extends RxBaseView {

        void showList(T t,int type);

        void showError(String error, int code);
    }

    interface MainModel<T> {
        void getData(final BaseModelCallback<T> mainCallBack, LifecycleProvider lifecycleProvider, String url, int type, HashMap<String,Object> map);
    }

    interface MainPresenter {
       void getData();
    }
}